a = 'admin'
b = 123456
c = 8888


def login(name, pwd, yzm):


    if name == a and pwd == b and yzm == c:
        print('登录成功')
    elif name != a and pwd == b and yzm == c:
        print('用户名错误')
    elif name == a and pwd != b and yzm == c:
        print('密码错误')
    elif name == a and pwd == b and yzm != c:
        print('验证码错误')


